<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	template="/tasks/tasks-frame.xhtml">

	<ui:param name="pageTitle"
		value="#{messages['page.tasks.analyse.show.title']}" />

	<ui:define name="subheader">#{messages['page.tasks.analyse.show.subheader']}</ui:define>

	<ui:define name="main">
		<ui:param name="task" value="#{taskBean.getCurrentTask()}" />
		<ui:param name="applicationx"
			value="#{taskBean.getApplication(taskBean.getCurrentTask())}" />
		<ui:param name="files" value="#{taskBean.files}" />
		<h:form id="applicationShowForm">
			<ui:include id="applicationShow"
				src="/applications/application-show.xhtml" />
			<br />
			<center>
				<s:button value="#{messages['general.back']}"
					view="/tasks/a/index.xhtml" id="back" />
				<h:commandButton value="#{messages['task.reject']}"
					action="#{taskBean.complete(task, 'analysis FAILS')}" />
				<h:commandButton value="#{messages['task.accept']}"
					action="#{taskBean.complete(task, 'analysis OK')}" />
			</center>
		</h:form>
	</ui:define>
</ui:composition>